﻿using System.Diagnostics;
using System.ServiceModel;

namespace jbt.CodeCandy.AsTrEAM.Contracts
{
    /// <summary>
    /// The result of a stream create operation.
    /// </summary>
    [MessageContract(WrapperNamespace = Settings.WCF.Namespage)]
    [DebuggerDisplay("Id: {Id}; Result: {Result};")]
    public class NewStreamResult
    {
        /// <summary>
        /// Gets or sets the unique identifier of the uplodated stream.
        /// </summary>
        [MessageHeader(Namespace = Settings.WCF.Namespage)]
        public string Id
        {
            get;
            set;
        }
    }
}